clean:
	@echo "del 00*.exe"
dirx:
	@echo "dirx"
001.exe:clean dirx
	gcc -o 001.exe ../../../Reading/link_load_library/2.SimpleDemo.c
002.exe:
	gcc -o 002.exe ../../../Reading/link_load_library/2.StaticLink.c
def2:clean dirx
	@echo $@ -- $< -- $? -- $^ -- $*
VARS=001 002 003 004
def.c:
	@echo $(VARS)
	@echo $(LIST)
	@echo $(CC)
	@echo $(MAKE)
	@echo $(CFLAGS)
	@echo $(SRC_PATH)
	@echo $(DEP_LIBS)
	@echo $(@D) -- $(@F)
	@echo $(<D) -- $(<F)
if1:
	ifeq ($(CC),gcc)
		libs=gcc_libs
	else
		libs=gcc_others
	endif
	@echo $(libs)
LIST=001 002 003 004 005
for1:
	for i in $(LIST): do \
		echo $$i; \
	done
for2:
	for i in 001 002 003 004: do \
		echo $i; \
	done